package com.bluemsun.naturallanguageprocessing.service;

import com.bluemsun.naturallanguageprocessing.common.ServerResponse;

import javax.servlet.http.HttpServletRequest;

/**
 * @author ：hj
 * @date ：Created in 2021/4/16 14:16
 * @description：浏览
 * @modified By：
 * @version: $
 */
public interface IBrowseService {
   /**
    * @author     ：hj
    * @date       ：Created in 2021/4/16 14:17
    * @description：根据用户id获取流浏览记录
    * @modified By：
    * @version:
    */
    ServerResponse getBrowse(HttpServletRequest request, Integer pageSize, Integer pageNum);
    /**
     * @author     ：hj
     * @date       ：Created in 2021/4/18 16:00
     * @description：删除单挑记录
     * @modified By：
     * @version:
     */
     ServerResponse deleteBrowse(Integer id);

     ServerResponse deleteAllBrowse(Integer id);
}
